

class ProcessMgr {
    constructor() {
        this.seatMgr = null;
        this.nextFunc = null;
        this.gameMgr = null;
        this.signal = null;
    }

    setSeatMgr(seatMgr) {
        this.seatMgr = seatMgr;
    }

    setGameMgr(gameMgr) {
        this.gameMgr = gameMgr;
    }

    setSignal(signal) {
        this.signal = signal;
    }

    doAction() {
        console.log("ProcessMgr的doAction方法");
    }

    doNextAction() {
        if (this.nextFunc) {
            this.nextFunc();
        }
    }

    setNextAction(func) {
        this.nextFunc = func;
    }

}

exports.ProcessMgr = ProcessMgr;